#ifndef WLTERM_PARSE_H
#define WLTERM_PARSE_H

#include "wlterm_session.h"
/* funtions declare */
void parse_putchar(WltermSession *session, gchar ch);
void ansi_erase_line(WltermSession *session, gint p);
void ansi_goto_xy(WltermSession *session, gint p1, gint p2);
void ansi_clear_screen(WltermSession *session, gint p);
void parse_color(WltermSession *session, const gchar *p);
void parse_ansi(WltermSession *session, gchar ch);
void parse_newline(WltermSession *session);
void parse_return(WltermSession *session);
void parse_back(WltermSession *session);
void parse_bell(WltermSession *session);
void parse_tab(WltermSession *session);
void wlterm_parse_data(WltermSession *session, gchar *data, gint len);
#endif /* WLTERM_PARSE_H */
